package chapter02;

public class Test {
    public static void main(String[] args) {
        Plane plane = new Plane();
        plane.CarryPassange();
        plane.Fly();
        plane.Land();
        plane.TakeOff();

        Bird bird = new Bird();
        bird.Eat();
        bird.Fly();
        bird.Land();
        bird.TakeOff();
        bird.LayEggs();

        Superman superman = new Superman();
        superman.Eat();
        superman.Fly();
        superman.Land();
        superman.TakeOff();
    }
}
